This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Sorted collection with db.search Att: IBM ~Alexis Elnisterakol 4.Jan.04 04:39 AM a Web browser Applications Development All ReleasesAll Platforms
The idea is unfortunately not working properly in praxis.
I have create a new class libary which dynamicaly creates a new view with sorted columns and selection formula. The view exactly is created like desired and sorts all documents like expected. When looking at the view everything optically looks fine. Running a script afterwards does result the documents in order like expected.
I have intensively tested several options, but during runtime of the creation script the sorting does not work. The new created view is unsorted. All documents are properly choosen by selection formula, but in no sorting order. The script needs to finish and I have to leave the database to update the view. Even view.refresh() does not help.
The idea of using a temporary created and afterwards deleted view to sort documents seem unfortunally not to work.